import React, { useEffect, useState } from 'react';
import { TypeProps } from '../typeProps';
import './index.less';
class ColProps extends TypeProps {
  span? = 8 as number;
}
const prefixCls = 'songs-col';
const Col: React.FC<ColProps> = ({
  children,
  style,
  className,
  span,
}: ColProps) => {
  const classes = [prefixCls, `${prefixCls}-${span}`, className].join(' ');
  return (
    <div className={classes} style={style}>
      {children}
    </div>
  );
};

export default Col;
